package com.shu.project.service;

import com.shu.project.model.User;
import com.shu.project.vo.LoginVo;

import javax.servlet.http.HttpServletResponse;

public interface IUserService {
    public User queryUserById(Long id);

    boolean updateUserInfo(User user);

    User selectUserByEmail(String email);

    User selectUserByPhoneNo(String phoneNo);

    User selectUserByNickName(String nickName);

    boolean login(HttpServletResponse response, LoginVo loginVo);

    User getByToken(HttpServletResponse response,String token);
}
